/*
 * Copyright (c) 2021. Moses All Right Reserved
 */

package com.moses.design_patterns.factory_method.d;

import com.moses.design_patterns.factory_method.IProduct;
import com.moses.design_patterns.factory_method.ProductB;
import com.moses.design_patterns.factory_method.d.AbstractFactory;

/**
 * @author Moses
 * @email shenhuohui@gmail.com
 * @date 2021/4/9 22:07
 */
public class ProductBFactory extends AbstractFactory {
    @Override
    public IProduct getProduct() {
        return new ProductB();
    }
}
